package com.mvp.shq.washer.view.widget;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.View;

import com.mvp.shq.washer.R;

/**
 * Created by Administrator on 2017/8/23.
 */

public class DivisionViewBottom extends View {
    public DivisionViewBottom(Context context) {
        super(context);
        init();
    }

    public DivisionViewBottom(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public DivisionViewBottom(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    private void init(){
        this.setBackgroundResource(R.drawable.shape_top);
        this.getBackground().setAlpha(50);
    }
}
